package com.wind;

import java.util.HashMap;
import java.util.Map;

public class WindEntity {

	private WindType type = null;
	
	public WindEntity(WindType type) {
		this.type = type;
	}
	
	public WindType getType() {
		return type;
	}
	
	private Map<String,String> attributes = new HashMap<String,String>();
	
	public String[] attributeNames() {
		return (String[])this.attributes.keySet().toArray();
	}
	
	public String getAttribute(String name) {
		return this.attributes.get(name);
	}
	
	public void setAttribute(String name, String value) {
		this.attributes.put(name, value);
	}
}
